names = ['David Beazley', 'Brian Jones', 'Raymond Hettinger', 'Ned Batchelder']

sorted(names,key=lambda name:name.split()[-1].lower())